package com.base_data_handler.sx.task;

import java.util.logging.Logger;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.base_data_handler.sx.handler.SX_FileUpload_Handler;
import com.base_data_handler.sx.handler.SX_Warning_Handler;
/**
 * 服务产品 上传监控 每2分钟执行
 * @param urlStr
 * @return
 */
public class SX_FileUplod_Task implements Job {

	private static final Logger log = Logger.getLogger(SX_FileUplod_Task.class.getName());
	
	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		// 调度任务参数
//		JobDataMap dataMap = context.getJobDetail().getJobDataMap();
//		String xxx = (String) dataMap.get("xxx");
		try {
			log.info("服务产品 上传监控 每60秒执行");
			SX_FileUpload_Handler.listenerFileDir();
		} catch (Exception e) {
		   log.info("服务产品 上传监控 每60秒执行" + e.getMessage());
			e.printStackTrace();
		}
		
	}
	
	
}
